package com.shortlink.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shortlink.pojos.dto.dataobject.LinkUVTypeDO;
import com.shortlink.pojos.dto.req.LinkStatsReqDTO;
import com.shortlink.pojos.dto.resp.LinkStatsTopIpRespDTO;
import com.shortlink.pojos.entity.LinkAccessLogsDO;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface LinkAccessLogsMapper extends BaseMapper<LinkAccessLogsDO> {
    List<LinkStatsTopIpRespDTO> linkAccessTop10(@Param("requestParam") LinkStatsReqDTO requestParam);

    LinkUVTypeDO linkUVType(@Param("requestParam") LinkStatsReqDTO requestParam);
}
